<div>
    <div class="row">
        <div class="col-md-2 padding-r-0">
            <vc:create path="shop/adminShop"></vc:create>
        </div>
        <div class="col-md-10">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件" namespace="adminGroup"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请输入商品名称','adminGroup')"
                                    v-model="adminGroupInfo.conditions.prodName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryProductMethod()">
                                <vc:i18n name="查询" namespace="adminGroup"></vc:i18n>
                            </button>
                        </div>
                    </div>
                </div>
            </div>


            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="店铺拼团" namespace="adminGroup"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name='编号' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">商品图片</th>
                                <th class="text-center">
                                    <vc:i18n name='商品名称' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='拼团人数' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='拼团金额' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='单买金额' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='状态' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='有效期' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='是否返佣' namespace='adminGroup'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='团长返佣' namespace='adminGroup'></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="group in adminGroupInfo.groups">
                                <td class="text-center">{{group.groupId}}</td>
                                <td class="text-center">
                                    <div style="position: relative; display: inline-block;">
                                        <img width="50" height="50" style="border-radius: 10px;" :src="group.coverPhoto"
                                            v-if="group.coverPhoto">
                                        <img width="50" height="50" style="border-radius: 10px;" src="/img/noPhoto.jpg" v-else>
                                    </div>
                                </td>
                                <td class="text-center">{{group.prodName}}</td>
                                <td class="text-center">{{group.userCount}}</td>
                                <td class="text-center">￥{{group.groupPrice}}</td>
                                <td class="text-center">￥{{group.price}}</td>
                                <td class="text-center">{{group.state == '1001'?'启用':'停用'}}</td>
                                <td class="text-center">{{group.startTime}}~{{group.endTime}}</td>
                                <td class="text-center">{{group.rebateFlag == 'Y'?'是':'否'}}</td>
                                <td class="text-center">{{group.rebate}}%</td>

                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>

    <vc:create path="admin/deleteProduct"></vc:create>


</div>